package com.cug.campus_sh_market_server.entity.myenum;

/**
 * @author sxt
 * @version : 1.0.0
 */
public enum ViewpointEnum {

    SELLER_VIEWPOINT("卖家视角", 0),
    BUYER_VIEWPOINT("买家视角", 1);

    ViewpointEnum(String userIns, Integer typeCode) {
        this.userIns = userIns;
        this.typeCode = typeCode;
    }


    /**
     * 用户类型标识
     */
    private final String userIns;

    /**
     * 用户类型码
     */
    private final Integer typeCode;


    public int getTypeCode() {
        return typeCode;
    }

    public String getUserDes() {
        return userIns;
    }
}
